package my.mall.common.enums

enum class RespMetaEnum(val status: Int, val msg: String) {
    SUCCESS(200, "请求成功"),
    LOGIN_FAIL(401, "登陆失败"),
    REGISTER_FAIL_REPEAT_USERNAME(402, "用户名重复"),
    NO_USER(403, "用户不存在"),
    REPEAT_PWD_ERROR(404, "密码错误超过当日上限，请明日再试"),
    PWD_ERROR(405, "账户或密码错误"),
    USER_FROZEN(406, "用户被冻结"),
    NOT_AUTH(410, "没有访问权限"),
    NO_STORE(411, "没有选择店铺"),
    PARAM_ERROR(420, "参数错误"),
    NOT_LOGIN(444, "未登陆或登陆过期"),
    SYSTEM_ERROR(500, "系统错误"),
    TIMEOUT(501, "网络繁忙，请稍后再试"),
    PASSWORD_FAILED(502, "密码错误")

}
